//
//  OjuJZGJLCFMineMoneyLogCellUgozLC.m
//  qcb_ios
//
//  Created by Ji on 2018/8/30.
//  Copyright © 2018年 ski. All rights reserved.
//

#import "OjuJZGJLCFMineMoneyLogCellUgozLC.h"

@interface OjuJZGJLCFMineMoneyLogCellUgozLC ()

@property (nonatomic, strong) UILabel *LufDjKnameLabelRjatWG;
@property (nonatomic, strong) UILabel *GAvcnIamountLabelMphKiM;
@property (nonatomic, strong) UILabel *hnRcVmtimeLabelncDSPi;
@property (nonatomic, strong) UIView *line;

@end

@implementation OjuJZGJLCFMineMoneyLogCellUgozLC

- (void)reloadData
{
    
    if (self.money) {
        
        if (!self.LufDjKnameLabelRjatWG) {
            self.LufDjKnameLabelRjatWG = [UILabel new];
            self.LufDjKnameLabelRjatWG.textColor = QTZ_Gray102;
            self.LufDjKnameLabelRjatWG.font = FONT(14);
            [self addSubview:self.LufDjKnameLabelRjatWG];
        }
        
        if (self.LufDjKnameLabelRjatWG) {
            self.LufDjKnameLabelRjatWG.text = self.money.typeName;
            [self.LufDjKnameLabelRjatWG sizeToFit];
            self.LufDjKnameLabelRjatWG.centerX = FULL_WIDTH / 6;
            self.LufDjKnameLabelRjatWG.centerY = 22;
        }
        
        if (!self.GAvcnIamountLabelMphKiM) {
            self.GAvcnIamountLabelMphKiM = [UILabel new];
            self.GAvcnIamountLabelMphKiM.textColor = QTZ_Gray102;
            self.GAvcnIamountLabelMphKiM.font = FONT(14);
            [self addSubview:self.GAvcnIamountLabelMphKiM];
        }
        
        if (self.GAvcnIamountLabelMphKiM) {
            self.GAvcnIamountLabelMphKiM.text = self.money.money;
            [self.GAvcnIamountLabelMphKiM sizeToFit];
            self.GAvcnIamountLabelMphKiM.centerX = FULL_WIDTH / 2;
            self.GAvcnIamountLabelMphKiM.centerY = 22;
        }
        
        if (!self.hnRcVmtimeLabelncDSPi) {
            self.hnRcVmtimeLabelncDSPi = [UILabel new];
            self.hnRcVmtimeLabelncDSPi.textColor = QTZ_Gray102;
            self.hnRcVmtimeLabelncDSPi.font = FONT(14);
            [self addSubview:self.hnRcVmtimeLabelncDSPi];
        }
        
        if (self.hnRcVmtimeLabelncDSPi) {
            self.hnRcVmtimeLabelncDSPi.text = [[NSString stringWithTime:self.money.addtime] substringToIndex:16];
            [self.hnRcVmtimeLabelncDSPi sizeToFit];
            self.hnRcVmtimeLabelncDSPi.centerX = FULL_WIDTH / 6 * 5;
            self.hnRcVmtimeLabelncDSPi.centerY = 22;
        }
        
        if (!self.line) {
            self.line = [[UIView alloc] initWithFrame:CGRectMake(10, 43, FULL_WIDTH - 20, 1)];
            self.line.backgroundColor = QTZ_Gray222;
            [self addSubview:self.line];
        }
        
        
        
    }
    
    
}

@end
